package com.example.lycdays.data.bean;

import java.util.List;

public class Result {

    /**
     * @type : top.lyc829.days.util.Result
     * detail : [{"@type":"top.lyc829.days.bean.Event","createTime":1591344021273,"date":"2020-06-05","id":5,"name":"nihao","note":"tttt","userId":4},{"@type":"top.lyc829.days.bean.Event","createTime":1591344452858,"date":"2020-06-03","id":7,"name":"affdf","note":"dfdg","userId":4}]
     * msg : 查询成功
     * success : true
     */

    //返回消息
    private String msg;
    //返回状态
    private boolean success;
    //返回详细信息
    private List<DetailBean> detail;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DetailBean> getDetail() {
        return detail;
    }

    public void setDetail(List<DetailBean> detail) {
        this.detail = detail;
    }

    public static class DetailBean {
        /**
         * @type : top.lyc829.days.bean.Event
         * createTime : 1591344021273
         * date : 2020-06-05
         * id : 5
         * name : nihao
         * note : tttt
         * userId : 4
         */

        private long createTime;
        private String date;
        private int id;
        private String name;
        private String note;

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }
    }
}
